-- GENERATED SPELL FOR [The Anvil] --


function spell0_26406(pUnit, Event) --@Molten Blast,Self--
pUnit:FullCastSpellOnTarget(61577,pUnit)
pUnit:RegisterEvent('Sorts_26406', 8500, 1)
end

function Sorts_26406(pUnit, Event)
local choix_sorts_26406 = math.random(0, 0)
if choix_sorts_26406 == 0 then
pUnit:RegisterEvent('spell0_26406', 1, 1)
end
end

function mob26406_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_26406', math.random(1500, 3000), 1)
end

function mob26406_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26406_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26406_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(26406, 1, 'mob26406_Action')
RegisterUnitEvent(26406, 2, 'mob26406_Leave')
RegisterUnitEvent(26406, 3, 'mob26406_Kill')
RegisterUnitEvent(26406, 4, 'mob26406_Die')
